package Lecture6;

public class ClassTask7 {

	public static void main(String[] args) {

		
	 double[][] arr = { {22.222, 333.33, 4.4444},
			 		{1234.5, 123.45, 1111.1},
			 		{12.345, 123.45, 1234.5}
	 			};
	 
	 
	 String a = "";
	 String result = ""; 	
	 
		for(int i = 0; i < arr.length; i++)
		{
			for(int j = 0; j < arr[i].length; j++)
			{
				a = String.format("%, 1.2f", arr[i][j]);
				result += a + " ";
				
			}
			result += "\n";
		}
		
		
		System.out.println(result);
		
		
	}

}
